Skip to content

Conversation

@knoepfel
Copy link
Member

@knoepfel knoepfel commented Dec 16, 2025

This PR enforces the schema:

{
  driver: { 
    # Single table of configuration for plugin that registers a driver
    # ...
    
    # N.B. Prototype 0.1 will not support an API for user-definable drivers
    #      Prototype 0.1 includes the 'generate_layers' driver plugin
  },
  sources: { 
    # Table of configurations for plugins that register providers
    # ...
   }, 
  modules: {
    # Table of configurations for modules that register physics algorithms
    # ...
  },
}

Closes #106.

@codecov
Copy link

codecov bot commented Dec 16, 2025

Codecov Report

❌ Patch coverage is 92.85714% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
phlex/app/run.cpp 85.71% 1 Missing and 1 partial ⚠️

❌ Your project status has failed because the head coverage (76.25%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage.

@@            Coverage Diff             @@
##             main     #195      +/-   ##
==========================================
+ Coverage   76.09%   76.25%   +0.15%     
==========================================
  Files         124      124              
  Lines        2719     2737      +18     
  Branches      469      472       +3     
==========================================
+ Hits         2069     2087      +18     
  Misses        453      453              
  Partials      197      197              
Flag Coverage Δ
unittests 76.25% <92.85%> (+0.15%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
phlex/app/load_module.cpp 79.31% <100.00%> (+4.31%) ⬆️
phlex/core/framework_graph.hpp 100.00% <100.00%> (ø)
phlex/driver.hpp 100.00% <100.00%> (ø)
plugins/generate_layers.cpp 100.00% <ø> (ø)
plugins/python/src/wrap.hpp 100.00% <ø> (ø)
phlex/app/run.cpp 88.23% <85.71%> (-11.77%) ⬇️

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 05750bd...27a28e7. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@knoepfel knoepfel linked an issue Dec 16, 2025 that may be closed by this pull request
@knoepfel knoepfel changed the title Switch from 'source' to 'driver' terminology Support drivers and sources in JSON schema Dec 16, 2025
@knoepfel knoepfel changed the title Support drivers and sources in JSON schema Support drivers and sources in job-configuration schema Dec 16, 2025
@knoepfel knoepfel force-pushed the json-schema branch 2 times, most recently from da147c6 to 68ca382 Compare December 18, 2025 19:10
Also make 'sources' optional at the job-configuration schema level
@knoepfel knoepfel merged commit 71457e0 into Framework-R-D:main Dec 19, 2025
35 of 36 checks passed
@knoepfel knoepfel deleted the json-schema branch December 19, 2025 18:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Job-configuration schema for prototype 0.1

2 participants